package com.lilosoft.business.precity.models;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class UpProSpecialprocedureExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public UpProSpecialprocedureExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andRowguidIsNull() {
            addCriterion("ROWGUID is null");
            return (Criteria) this;
        }

        public Criteria andRowguidIsNotNull() {
            addCriterion("ROWGUID is not null");
            return (Criteria) this;
        }

        public Criteria andRowguidEqualTo(String value) {
            addCriterion("ROWGUID =", value, "rowguid");
            return (Criteria) this;
        }

        public Criteria andRowguidNotEqualTo(String value) {
            addCriterion("ROWGUID <>", value, "rowguid");
            return (Criteria) this;
        }

        public Criteria andRowguidGreaterThan(String value) {
            addCriterion("ROWGUID >", value, "rowguid");
            return (Criteria) this;
        }

        public Criteria andRowguidGreaterThanOrEqualTo(String value) {
            addCriterion("ROWGUID >=", value, "rowguid");
            return (Criteria) this;
        }

        public Criteria andRowguidLessThan(String value) {
            addCriterion("ROWGUID <", value, "rowguid");
            return (Criteria) this;
        }

        public Criteria andRowguidLessThanOrEqualTo(String value) {
            addCriterion("ROWGUID <=", value, "rowguid");
            return (Criteria) this;
        }

        public Criteria andRowguidLike(String value) {
            addCriterion("ROWGUID like", value, "rowguid");
            return (Criteria) this;
        }

        public Criteria andRowguidNotLike(String value) {
            addCriterion("ROWGUID not like", value, "rowguid");
            return (Criteria) this;
        }

        public Criteria andRowguidIn(List<String> values) {
            addCriterion("ROWGUID in", values, "rowguid");
            return (Criteria) this;
        }

        public Criteria andRowguidNotIn(List<String> values) {
            addCriterion("ROWGUID not in", values, "rowguid");
            return (Criteria) this;
        }

        public Criteria andRowguidBetween(String value1, String value2) {
            addCriterion("ROWGUID between", value1, value2, "rowguid");
            return (Criteria) this;
        }

        public Criteria andRowguidNotBetween(String value1, String value2) {
            addCriterion("ROWGUID not between", value1, value2, "rowguid");
            return (Criteria) this;
        }

        public Criteria andLinkRowguidIsNull() {
            addCriterion("LINK_ROWGUID is null");
            return (Criteria) this;
        }

        public Criteria andLinkRowguidIsNotNull() {
            addCriterion("LINK_ROWGUID is not null");
            return (Criteria) this;
        }

        public Criteria andLinkRowguidEqualTo(String value) {
            addCriterion("LINK_ROWGUID =", value, "linkRowguid");
            return (Criteria) this;
        }

        public Criteria andLinkRowguidNotEqualTo(String value) {
            addCriterion("LINK_ROWGUID <>", value, "linkRowguid");
            return (Criteria) this;
        }

        public Criteria andLinkRowguidGreaterThan(String value) {
            addCriterion("LINK_ROWGUID >", value, "linkRowguid");
            return (Criteria) this;
        }

        public Criteria andLinkRowguidGreaterThanOrEqualTo(String value) {
            addCriterion("LINK_ROWGUID >=", value, "linkRowguid");
            return (Criteria) this;
        }

        public Criteria andLinkRowguidLessThan(String value) {
            addCriterion("LINK_ROWGUID <", value, "linkRowguid");
            return (Criteria) this;
        }

        public Criteria andLinkRowguidLessThanOrEqualTo(String value) {
            addCriterion("LINK_ROWGUID <=", value, "linkRowguid");
            return (Criteria) this;
        }

        public Criteria andLinkRowguidLike(String value) {
            addCriterion("LINK_ROWGUID like", value, "linkRowguid");
            return (Criteria) this;
        }

        public Criteria andLinkRowguidNotLike(String value) {
            addCriterion("LINK_ROWGUID not like", value, "linkRowguid");
            return (Criteria) this;
        }

        public Criteria andLinkRowguidIn(List<String> values) {
            addCriterion("LINK_ROWGUID in", values, "linkRowguid");
            return (Criteria) this;
        }

        public Criteria andLinkRowguidNotIn(List<String> values) {
            addCriterion("LINK_ROWGUID not in", values, "linkRowguid");
            return (Criteria) this;
        }

        public Criteria andLinkRowguidBetween(String value1, String value2) {
            addCriterion("LINK_ROWGUID between", value1, value2, "linkRowguid");
            return (Criteria) this;
        }

        public Criteria andLinkRowguidNotBetween(String value1, String value2) {
            addCriterion("LINK_ROWGUID not between", value1, value2, "linkRowguid");
            return (Criteria) this;
        }

        public Criteria andProjectRowguidIsNull() {
            addCriterion("PROJECT_ROWGUID is null");
            return (Criteria) this;
        }

        public Criteria andProjectRowguidIsNotNull() {
            addCriterion("PROJECT_ROWGUID is not null");
            return (Criteria) this;
        }

        public Criteria andProjectRowguidEqualTo(String value) {
            addCriterion("PROJECT_ROWGUID =", value, "projectRowguid");
            return (Criteria) this;
        }

        public Criteria andProjectRowguidNotEqualTo(String value) {
            addCriterion("PROJECT_ROWGUID <>", value, "projectRowguid");
            return (Criteria) this;
        }

        public Criteria andProjectRowguidGreaterThan(String value) {
            addCriterion("PROJECT_ROWGUID >", value, "projectRowguid");
            return (Criteria) this;
        }

        public Criteria andProjectRowguidGreaterThanOrEqualTo(String value) {
            addCriterion("PROJECT_ROWGUID >=", value, "projectRowguid");
            return (Criteria) this;
        }

        public Criteria andProjectRowguidLessThan(String value) {
            addCriterion("PROJECT_ROWGUID <", value, "projectRowguid");
            return (Criteria) this;
        }

        public Criteria andProjectRowguidLessThanOrEqualTo(String value) {
            addCriterion("PROJECT_ROWGUID <=", value, "projectRowguid");
            return (Criteria) this;
        }

        public Criteria andProjectRowguidLike(String value) {
            addCriterion("PROJECT_ROWGUID like", value, "projectRowguid");
            return (Criteria) this;
        }

        public Criteria andProjectRowguidNotLike(String value) {
            addCriterion("PROJECT_ROWGUID not like", value, "projectRowguid");
            return (Criteria) this;
        }

        public Criteria andProjectRowguidIn(List<String> values) {
            addCriterion("PROJECT_ROWGUID in", values, "projectRowguid");
            return (Criteria) this;
        }

        public Criteria andProjectRowguidNotIn(List<String> values) {
            addCriterion("PROJECT_ROWGUID not in", values, "projectRowguid");
            return (Criteria) this;
        }

        public Criteria andProjectRowguidBetween(String value1, String value2) {
            addCriterion("PROJECT_ROWGUID between", value1, value2, "projectRowguid");
            return (Criteria) this;
        }

        public Criteria andProjectRowguidNotBetween(String value1, String value2) {
            addCriterion("PROJECT_ROWGUID not between", value1, value2, "projectRowguid");
            return (Criteria) this;
        }

        public Criteria andProjectnoIsNull() {
            addCriterion("PROJECTNO is null");
            return (Criteria) this;
        }

        public Criteria andProjectnoIsNotNull() {
            addCriterion("PROJECTNO is not null");
            return (Criteria) this;
        }

        public Criteria andProjectnoEqualTo(String value) {
            addCriterion("PROJECTNO =", value, "projectno");
            return (Criteria) this;
        }

        public Criteria andProjectnoNotEqualTo(String value) {
            addCriterion("PROJECTNO <>", value, "projectno");
            return (Criteria) this;
        }

        public Criteria andProjectnoGreaterThan(String value) {
            addCriterion("PROJECTNO >", value, "projectno");
            return (Criteria) this;
        }

        public Criteria andProjectnoGreaterThanOrEqualTo(String value) {
            addCriterion("PROJECTNO >=", value, "projectno");
            return (Criteria) this;
        }

        public Criteria andProjectnoLessThan(String value) {
            addCriterion("PROJECTNO <", value, "projectno");
            return (Criteria) this;
        }

        public Criteria andProjectnoLessThanOrEqualTo(String value) {
            addCriterion("PROJECTNO <=", value, "projectno");
            return (Criteria) this;
        }

        public Criteria andProjectnoLike(String value) {
            addCriterion("PROJECTNO like", value, "projectno");
            return (Criteria) this;
        }

        public Criteria andProjectnoNotLike(String value) {
            addCriterion("PROJECTNO not like", value, "projectno");
            return (Criteria) this;
        }

        public Criteria andProjectnoIn(List<String> values) {
            addCriterion("PROJECTNO in", values, "projectno");
            return (Criteria) this;
        }

        public Criteria andProjectnoNotIn(List<String> values) {
            addCriterion("PROJECTNO not in", values, "projectno");
            return (Criteria) this;
        }

        public Criteria andProjectnoBetween(String value1, String value2) {
            addCriterion("PROJECTNO between", value1, value2, "projectno");
            return (Criteria) this;
        }

        public Criteria andProjectnoNotBetween(String value1, String value2) {
            addCriterion("PROJECTNO not between", value1, value2, "projectno");
            return (Criteria) this;
        }

        public Criteria andSpecialtypeIsNull() {
            addCriterion("SPECIALTYPE is null");
            return (Criteria) this;
        }

        public Criteria andSpecialtypeIsNotNull() {
            addCriterion("SPECIALTYPE is not null");
            return (Criteria) this;
        }

        public Criteria andSpecialtypeEqualTo(String value) {
            addCriterion("SPECIALTYPE =", value, "specialtype");
            return (Criteria) this;
        }

        public Criteria andSpecialtypeNotEqualTo(String value) {
            addCriterion("SPECIALTYPE <>", value, "specialtype");
            return (Criteria) this;
        }

        public Criteria andSpecialtypeGreaterThan(String value) {
            addCriterion("SPECIALTYPE >", value, "specialtype");
            return (Criteria) this;
        }

        public Criteria andSpecialtypeGreaterThanOrEqualTo(String value) {
            addCriterion("SPECIALTYPE >=", value, "specialtype");
            return (Criteria) this;
        }

        public Criteria andSpecialtypeLessThan(String value) {
            addCriterion("SPECIALTYPE <", value, "specialtype");
            return (Criteria) this;
        }

        public Criteria andSpecialtypeLessThanOrEqualTo(String value) {
            addCriterion("SPECIALTYPE <=", value, "specialtype");
            return (Criteria) this;
        }

        public Criteria andSpecialtypeLike(String value) {
            addCriterion("SPECIALTYPE like", value, "specialtype");
            return (Criteria) this;
        }

        public Criteria andSpecialtypeNotLike(String value) {
            addCriterion("SPECIALTYPE not like", value, "specialtype");
            return (Criteria) this;
        }

        public Criteria andSpecialtypeIn(List<String> values) {
            addCriterion("SPECIALTYPE in", values, "specialtype");
            return (Criteria) this;
        }

        public Criteria andSpecialtypeNotIn(List<String> values) {
            addCriterion("SPECIALTYPE not in", values, "specialtype");
            return (Criteria) this;
        }

        public Criteria andSpecialtypeBetween(String value1, String value2) {
            addCriterion("SPECIALTYPE between", value1, value2, "specialtype");
            return (Criteria) this;
        }

        public Criteria andSpecialtypeNotBetween(String value1, String value2) {
            addCriterion("SPECIALTYPE not between", value1, value2, "specialtype");
            return (Criteria) this;
        }

        public Criteria andSpecialtimeIsNull() {
            addCriterion("SPECIALTIME is null");
            return (Criteria) this;
        }

        public Criteria andSpecialtimeIsNotNull() {
            addCriterion("SPECIALTIME is not null");
            return (Criteria) this;
        }

        public Criteria andSpecialtimeEqualTo(Date value) {
            addCriterion("SPECIALTIME =", value, "specialtime");
            return (Criteria) this;
        }

        public Criteria andSpecialtimeNotEqualTo(Date value) {
            addCriterion("SPECIALTIME <>", value, "specialtime");
            return (Criteria) this;
        }

        public Criteria andSpecialtimeGreaterThan(Date value) {
            addCriterion("SPECIALTIME >", value, "specialtime");
            return (Criteria) this;
        }

        public Criteria andSpecialtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("SPECIALTIME >=", value, "specialtime");
            return (Criteria) this;
        }

        public Criteria andSpecialtimeLessThan(Date value) {
            addCriterion("SPECIALTIME <", value, "specialtime");
            return (Criteria) this;
        }

        public Criteria andSpecialtimeLessThanOrEqualTo(Date value) {
            addCriterion("SPECIALTIME <=", value, "specialtime");
            return (Criteria) this;
        }

        public Criteria andSpecialtimeIn(List<Date> values) {
            addCriterion("SPECIALTIME in", values, "specialtime");
            return (Criteria) this;
        }

        public Criteria andSpecialtimeNotIn(List<Date> values) {
            addCriterion("SPECIALTIME not in", values, "specialtime");
            return (Criteria) this;
        }

        public Criteria andSpecialtimeBetween(Date value1, Date value2) {
            addCriterion("SPECIALTIME between", value1, value2, "specialtime");
            return (Criteria) this;
        }

        public Criteria andSpecialtimeNotBetween(Date value1, Date value2) {
            addCriterion("SPECIALTIME not between", value1, value2, "specialtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeIsNull() {
            addCriterion("ENDTIME is null");
            return (Criteria) this;
        }

        public Criteria andEndtimeIsNotNull() {
            addCriterion("ENDTIME is not null");
            return (Criteria) this;
        }

        public Criteria andEndtimeEqualTo(Date value) {
            addCriterion("ENDTIME =", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeNotEqualTo(Date value) {
            addCriterion("ENDTIME <>", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeGreaterThan(Date value) {
            addCriterion("ENDTIME >", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("ENDTIME >=", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeLessThan(Date value) {
            addCriterion("ENDTIME <", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeLessThanOrEqualTo(Date value) {
            addCriterion("ENDTIME <=", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeIn(List<Date> values) {
            addCriterion("ENDTIME in", values, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeNotIn(List<Date> values) {
            addCriterion("ENDTIME not in", values, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeBetween(Date value1, Date value2) {
            addCriterion("ENDTIME between", value1, value2, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeNotBetween(Date value1, Date value2) {
            addCriterion("ENDTIME not between", value1, value2, "endtime");
            return (Criteria) this;
        }

        public Criteria andApplyerusernameIsNull() {
            addCriterion("APPLYERUSERNAME is null");
            return (Criteria) this;
        }

        public Criteria andApplyerusernameIsNotNull() {
            addCriterion("APPLYERUSERNAME is not null");
            return (Criteria) this;
        }

        public Criteria andApplyerusernameEqualTo(String value) {
            addCriterion("APPLYERUSERNAME =", value, "applyerusername");
            return (Criteria) this;
        }

        public Criteria andApplyerusernameNotEqualTo(String value) {
            addCriterion("APPLYERUSERNAME <>", value, "applyerusername");
            return (Criteria) this;
        }

        public Criteria andApplyerusernameGreaterThan(String value) {
            addCriterion("APPLYERUSERNAME >", value, "applyerusername");
            return (Criteria) this;
        }

        public Criteria andApplyerusernameGreaterThanOrEqualTo(String value) {
            addCriterion("APPLYERUSERNAME >=", value, "applyerusername");
            return (Criteria) this;
        }

        public Criteria andApplyerusernameLessThan(String value) {
            addCriterion("APPLYERUSERNAME <", value, "applyerusername");
            return (Criteria) this;
        }

        public Criteria andApplyerusernameLessThanOrEqualTo(String value) {
            addCriterion("APPLYERUSERNAME <=", value, "applyerusername");
            return (Criteria) this;
        }

        public Criteria andApplyerusernameLike(String value) {
            addCriterion("APPLYERUSERNAME like", value, "applyerusername");
            return (Criteria) this;
        }

        public Criteria andApplyerusernameNotLike(String value) {
            addCriterion("APPLYERUSERNAME not like", value, "applyerusername");
            return (Criteria) this;
        }

        public Criteria andApplyerusernameIn(List<String> values) {
            addCriterion("APPLYERUSERNAME in", values, "applyerusername");
            return (Criteria) this;
        }

        public Criteria andApplyerusernameNotIn(List<String> values) {
            addCriterion("APPLYERUSERNAME not in", values, "applyerusername");
            return (Criteria) this;
        }

        public Criteria andApplyerusernameBetween(String value1, String value2) {
            addCriterion("APPLYERUSERNAME between", value1, value2, "applyerusername");
            return (Criteria) this;
        }

        public Criteria andApplyerusernameNotBetween(String value1, String value2) {
            addCriterion("APPLYERUSERNAME not between", value1, value2, "applyerusername");
            return (Criteria) this;
        }

        public Criteria andHandleuserIsNull() {
            addCriterion("HANDLEUSER is null");
            return (Criteria) this;
        }

        public Criteria andHandleuserIsNotNull() {
            addCriterion("HANDLEUSER is not null");
            return (Criteria) this;
        }

        public Criteria andHandleuserEqualTo(String value) {
            addCriterion("HANDLEUSER =", value, "handleuser");
            return (Criteria) this;
        }

        public Criteria andHandleuserNotEqualTo(String value) {
            addCriterion("HANDLEUSER <>", value, "handleuser");
            return (Criteria) this;
        }

        public Criteria andHandleuserGreaterThan(String value) {
            addCriterion("HANDLEUSER >", value, "handleuser");
            return (Criteria) this;
        }

        public Criteria andHandleuserGreaterThanOrEqualTo(String value) {
            addCriterion("HANDLEUSER >=", value, "handleuser");
            return (Criteria) this;
        }

        public Criteria andHandleuserLessThan(String value) {
            addCriterion("HANDLEUSER <", value, "handleuser");
            return (Criteria) this;
        }

        public Criteria andHandleuserLessThanOrEqualTo(String value) {
            addCriterion("HANDLEUSER <=", value, "handleuser");
            return (Criteria) this;
        }

        public Criteria andHandleuserLike(String value) {
            addCriterion("HANDLEUSER like", value, "handleuser");
            return (Criteria) this;
        }

        public Criteria andHandleuserNotLike(String value) {
            addCriterion("HANDLEUSER not like", value, "handleuser");
            return (Criteria) this;
        }

        public Criteria andHandleuserIn(List<String> values) {
            addCriterion("HANDLEUSER in", values, "handleuser");
            return (Criteria) this;
        }

        public Criteria andHandleuserNotIn(List<String> values) {
            addCriterion("HANDLEUSER not in", values, "handleuser");
            return (Criteria) this;
        }

        public Criteria andHandleuserBetween(String value1, String value2) {
            addCriterion("HANDLEUSER between", value1, value2, "handleuser");
            return (Criteria) this;
        }

        public Criteria andHandleuserNotBetween(String value1, String value2) {
            addCriterion("HANDLEUSER not between", value1, value2, "handleuser");
            return (Criteria) this;
        }

        public Criteria andExtendDayIsNull() {
            addCriterion("EXTEND_DAY is null");
            return (Criteria) this;
        }

        public Criteria andExtendDayIsNotNull() {
            addCriterion("EXTEND_DAY is not null");
            return (Criteria) this;
        }

        public Criteria andExtendDayEqualTo(Integer value) {
            addCriterion("EXTEND_DAY =", value, "extendDay");
            return (Criteria) this;
        }

        public Criteria andExtendDayNotEqualTo(Integer value) {
            addCriterion("EXTEND_DAY <>", value, "extendDay");
            return (Criteria) this;
        }

        public Criteria andExtendDayGreaterThan(Integer value) {
            addCriterion("EXTEND_DAY >", value, "extendDay");
            return (Criteria) this;
        }

        public Criteria andExtendDayGreaterThanOrEqualTo(Integer value) {
            addCriterion("EXTEND_DAY >=", value, "extendDay");
            return (Criteria) this;
        }

        public Criteria andExtendDayLessThan(Integer value) {
            addCriterion("EXTEND_DAY <", value, "extendDay");
            return (Criteria) this;
        }

        public Criteria andExtendDayLessThanOrEqualTo(Integer value) {
            addCriterion("EXTEND_DAY <=", value, "extendDay");
            return (Criteria) this;
        }

        public Criteria andExtendDayIn(List<Integer> values) {
            addCriterion("EXTEND_DAY in", values, "extendDay");
            return (Criteria) this;
        }

        public Criteria andExtendDayNotIn(List<Integer> values) {
            addCriterion("EXTEND_DAY not in", values, "extendDay");
            return (Criteria) this;
        }

        public Criteria andExtendDayBetween(Integer value1, Integer value2) {
            addCriterion("EXTEND_DAY between", value1, value2, "extendDay");
            return (Criteria) this;
        }

        public Criteria andExtendDayNotBetween(Integer value1, Integer value2) {
            addCriterion("EXTEND_DAY not between", value1, value2, "extendDay");
            return (Criteria) this;
        }

        public Criteria andCheckStateIsNull() {
            addCriterion("CHECK_STATE is null");
            return (Criteria) this;
        }

        public Criteria andCheckStateIsNotNull() {
            addCriterion("CHECK_STATE is not null");
            return (Criteria) this;
        }

        public Criteria andCheckStateEqualTo(Integer value) {
            addCriterion("CHECK_STATE =", value, "checkState");
            return (Criteria) this;
        }

        public Criteria andCheckStateNotEqualTo(Integer value) {
            addCriterion("CHECK_STATE <>", value, "checkState");
            return (Criteria) this;
        }

        public Criteria andCheckStateGreaterThan(Integer value) {
            addCriterion("CHECK_STATE >", value, "checkState");
            return (Criteria) this;
        }

        public Criteria andCheckStateGreaterThanOrEqualTo(Integer value) {
            addCriterion("CHECK_STATE >=", value, "checkState");
            return (Criteria) this;
        }

        public Criteria andCheckStateLessThan(Integer value) {
            addCriterion("CHECK_STATE <", value, "checkState");
            return (Criteria) this;
        }

        public Criteria andCheckStateLessThanOrEqualTo(Integer value) {
            addCriterion("CHECK_STATE <=", value, "checkState");
            return (Criteria) this;
        }

        public Criteria andCheckStateIn(List<Integer> values) {
            addCriterion("CHECK_STATE in", values, "checkState");
            return (Criteria) this;
        }

        public Criteria andCheckStateNotIn(List<Integer> values) {
            addCriterion("CHECK_STATE not in", values, "checkState");
            return (Criteria) this;
        }

        public Criteria andCheckStateBetween(Integer value1, Integer value2) {
            addCriterion("CHECK_STATE between", value1, value2, "checkState");
            return (Criteria) this;
        }

        public Criteria andCheckStateNotBetween(Integer value1, Integer value2) {
            addCriterion("CHECK_STATE not between", value1, value2, "checkState");
            return (Criteria) this;
        }

        public Criteria andCdUptimeIsNull() {
            addCriterion("CD_UPTIME is null");
            return (Criteria) this;
        }

        public Criteria andCdUptimeIsNotNull() {
            addCriterion("CD_UPTIME is not null");
            return (Criteria) this;
        }

        public Criteria andCdUptimeEqualTo(Date value) {
            addCriterion("CD_UPTIME =", value, "cdUptime");
            return (Criteria) this;
        }

        public Criteria andCdUptimeNotEqualTo(Date value) {
            addCriterion("CD_UPTIME <>", value, "cdUptime");
            return (Criteria) this;
        }

        public Criteria andCdUptimeGreaterThan(Date value) {
            addCriterion("CD_UPTIME >", value, "cdUptime");
            return (Criteria) this;
        }

        public Criteria andCdUptimeGreaterThanOrEqualTo(Date value) {
            addCriterion("CD_UPTIME >=", value, "cdUptime");
            return (Criteria) this;
        }

        public Criteria andCdUptimeLessThan(Date value) {
            addCriterion("CD_UPTIME <", value, "cdUptime");
            return (Criteria) this;
        }

        public Criteria andCdUptimeLessThanOrEqualTo(Date value) {
            addCriterion("CD_UPTIME <=", value, "cdUptime");
            return (Criteria) this;
        }

        public Criteria andCdUptimeIn(List<Date> values) {
            addCriterion("CD_UPTIME in", values, "cdUptime");
            return (Criteria) this;
        }

        public Criteria andCdUptimeNotIn(List<Date> values) {
            addCriterion("CD_UPTIME not in", values, "cdUptime");
            return (Criteria) this;
        }

        public Criteria andCdUptimeBetween(Date value1, Date value2) {
            addCriterion("CD_UPTIME between", value1, value2, "cdUptime");
            return (Criteria) this;
        }

        public Criteria andCdUptimeNotBetween(Date value1, Date value2) {
            addCriterion("CD_UPTIME not between", value1, value2, "cdUptime");
            return (Criteria) this;
        }

        public Criteria andDelStateIsNull() {
            addCriterion("DEL_STATE is null");
            return (Criteria) this;
        }

        public Criteria andDelStateIsNotNull() {
            addCriterion("DEL_STATE is not null");
            return (Criteria) this;
        }

        public Criteria andDelStateEqualTo(Integer value) {
            addCriterion("DEL_STATE =", value, "delState");
            return (Criteria) this;
        }

        public Criteria andDelStateNotEqualTo(Integer value) {
            addCriterion("DEL_STATE <>", value, "delState");
            return (Criteria) this;
        }

        public Criteria andDelStateGreaterThan(Integer value) {
            addCriterion("DEL_STATE >", value, "delState");
            return (Criteria) this;
        }

        public Criteria andDelStateGreaterThanOrEqualTo(Integer value) {
            addCriterion("DEL_STATE >=", value, "delState");
            return (Criteria) this;
        }

        public Criteria andDelStateLessThan(Integer value) {
            addCriterion("DEL_STATE <", value, "delState");
            return (Criteria) this;
        }

        public Criteria andDelStateLessThanOrEqualTo(Integer value) {
            addCriterion("DEL_STATE <=", value, "delState");
            return (Criteria) this;
        }

        public Criteria andDelStateIn(List<Integer> values) {
            addCriterion("DEL_STATE in", values, "delState");
            return (Criteria) this;
        }

        public Criteria andDelStateNotIn(List<Integer> values) {
            addCriterion("DEL_STATE not in", values, "delState");
            return (Criteria) this;
        }

        public Criteria andDelStateBetween(Integer value1, Integer value2) {
            addCriterion("DEL_STATE between", value1, value2, "delState");
            return (Criteria) this;
        }

        public Criteria andDelStateNotBetween(Integer value1, Integer value2) {
            addCriterion("DEL_STATE not between", value1, value2, "delState");
            return (Criteria) this;
        }

        public Criteria andSyncSignIsNull() {
            addCriterion("SYNC_SIGN is null");
            return (Criteria) this;
        }

        public Criteria andSyncSignIsNotNull() {
            addCriterion("SYNC_SIGN is not null");
            return (Criteria) this;
        }

        public Criteria andSyncSignEqualTo(Integer value) {
            addCriterion("SYNC_SIGN =", value, "syncSign");
            return (Criteria) this;
        }

        public Criteria andSyncSignNotEqualTo(Integer value) {
            addCriterion("SYNC_SIGN <>", value, "syncSign");
            return (Criteria) this;
        }

        public Criteria andSyncSignGreaterThan(Integer value) {
            addCriterion("SYNC_SIGN >", value, "syncSign");
            return (Criteria) this;
        }

        public Criteria andSyncSignGreaterThanOrEqualTo(Integer value) {
            addCriterion("SYNC_SIGN >=", value, "syncSign");
            return (Criteria) this;
        }

        public Criteria andSyncSignLessThan(Integer value) {
            addCriterion("SYNC_SIGN <", value, "syncSign");
            return (Criteria) this;
        }

        public Criteria andSyncSignLessThanOrEqualTo(Integer value) {
            addCriterion("SYNC_SIGN <=", value, "syncSign");
            return (Criteria) this;
        }

        public Criteria andSyncSignIn(List<Integer> values) {
            addCriterion("SYNC_SIGN in", values, "syncSign");
            return (Criteria) this;
        }

        public Criteria andSyncSignNotIn(List<Integer> values) {
            addCriterion("SYNC_SIGN not in", values, "syncSign");
            return (Criteria) this;
        }

        public Criteria andSyncSignBetween(Integer value1, Integer value2) {
            addCriterion("SYNC_SIGN between", value1, value2, "syncSign");
            return (Criteria) this;
        }

        public Criteria andSyncSignNotBetween(Integer value1, Integer value2) {
            addCriterion("SYNC_SIGN not between", value1, value2, "syncSign");
            return (Criteria) this;
        }

        public Criteria andCdTimeIsNull() {
            addCriterion("CD_TIME is null");
            return (Criteria) this;
        }

        public Criteria andCdTimeIsNotNull() {
            addCriterion("CD_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andCdTimeEqualTo(Date value) {
            addCriterion("CD_TIME =", value, "cdTime");
            return (Criteria) this;
        }

        public Criteria andCdTimeNotEqualTo(Date value) {
            addCriterion("CD_TIME <>", value, "cdTime");
            return (Criteria) this;
        }

        public Criteria andCdTimeGreaterThan(Date value) {
            addCriterion("CD_TIME >", value, "cdTime");
            return (Criteria) this;
        }

        public Criteria andCdTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("CD_TIME >=", value, "cdTime");
            return (Criteria) this;
        }

        public Criteria andCdTimeLessThan(Date value) {
            addCriterion("CD_TIME <", value, "cdTime");
            return (Criteria) this;
        }

        public Criteria andCdTimeLessThanOrEqualTo(Date value) {
            addCriterion("CD_TIME <=", value, "cdTime");
            return (Criteria) this;
        }

        public Criteria andCdTimeIn(List<Date> values) {
            addCriterion("CD_TIME in", values, "cdTime");
            return (Criteria) this;
        }

        public Criteria andCdTimeNotIn(List<Date> values) {
            addCriterion("CD_TIME not in", values, "cdTime");
            return (Criteria) this;
        }

        public Criteria andCdTimeBetween(Date value1, Date value2) {
            addCriterion("CD_TIME between", value1, value2, "cdTime");
            return (Criteria) this;
        }

        public Criteria andCdTimeNotBetween(Date value1, Date value2) {
            addCriterion("CD_TIME not between", value1, value2, "cdTime");
            return (Criteria) this;
        }

        public Criteria andCdBatchIsNull() {
            addCriterion("CD_BATCH is null");
            return (Criteria) this;
        }

        public Criteria andCdBatchIsNotNull() {
            addCriterion("CD_BATCH is not null");
            return (Criteria) this;
        }

        public Criteria andCdBatchEqualTo(String value) {
            addCriterion("CD_BATCH =", value, "cdBatch");
            return (Criteria) this;
        }

        public Criteria andCdBatchNotEqualTo(String value) {
            addCriterion("CD_BATCH <>", value, "cdBatch");
            return (Criteria) this;
        }

        public Criteria andCdBatchGreaterThan(String value) {
            addCriterion("CD_BATCH >", value, "cdBatch");
            return (Criteria) this;
        }

        public Criteria andCdBatchGreaterThanOrEqualTo(String value) {
            addCriterion("CD_BATCH >=", value, "cdBatch");
            return (Criteria) this;
        }

        public Criteria andCdBatchLessThan(String value) {
            addCriterion("CD_BATCH <", value, "cdBatch");
            return (Criteria) this;
        }

        public Criteria andCdBatchLessThanOrEqualTo(String value) {
            addCriterion("CD_BATCH <=", value, "cdBatch");
            return (Criteria) this;
        }

        public Criteria andCdBatchLike(String value) {
            addCriterion("CD_BATCH like", value, "cdBatch");
            return (Criteria) this;
        }

        public Criteria andCdBatchNotLike(String value) {
            addCriterion("CD_BATCH not like", value, "cdBatch");
            return (Criteria) this;
        }

        public Criteria andCdBatchIn(List<String> values) {
            addCriterion("CD_BATCH in", values, "cdBatch");
            return (Criteria) this;
        }

        public Criteria andCdBatchNotIn(List<String> values) {
            addCriterion("CD_BATCH not in", values, "cdBatch");
            return (Criteria) this;
        }

        public Criteria andCdBatchBetween(String value1, String value2) {
            addCriterion("CD_BATCH between", value1, value2, "cdBatch");
            return (Criteria) this;
        }

        public Criteria andCdBatchNotBetween(String value1, String value2) {
            addCriterion("CD_BATCH not between", value1, value2, "cdBatch");
            return (Criteria) this;
        }

        public Criteria andDatasourceIsNull() {
            addCriterion("DATASOURCE is null");
            return (Criteria) this;
        }

        public Criteria andDatasourceIsNotNull() {
            addCriterion("DATASOURCE is not null");
            return (Criteria) this;
        }

        public Criteria andDatasourceEqualTo(String value) {
            addCriterion("DATASOURCE =", value, "datasource");
            return (Criteria) this;
        }

        public Criteria andDatasourceNotEqualTo(String value) {
            addCriterion("DATASOURCE <>", value, "datasource");
            return (Criteria) this;
        }

        public Criteria andDatasourceGreaterThan(String value) {
            addCriterion("DATASOURCE >", value, "datasource");
            return (Criteria) this;
        }

        public Criteria andDatasourceGreaterThanOrEqualTo(String value) {
            addCriterion("DATASOURCE >=", value, "datasource");
            return (Criteria) this;
        }

        public Criteria andDatasourceLessThan(String value) {
            addCriterion("DATASOURCE <", value, "datasource");
            return (Criteria) this;
        }

        public Criteria andDatasourceLessThanOrEqualTo(String value) {
            addCriterion("DATASOURCE <=", value, "datasource");
            return (Criteria) this;
        }

        public Criteria andDatasourceLike(String value) {
            addCriterion("DATASOURCE like", value, "datasource");
            return (Criteria) this;
        }

        public Criteria andDatasourceNotLike(String value) {
            addCriterion("DATASOURCE not like", value, "datasource");
            return (Criteria) this;
        }

        public Criteria andDatasourceIn(List<String> values) {
            addCriterion("DATASOURCE in", values, "datasource");
            return (Criteria) this;
        }

        public Criteria andDatasourceNotIn(List<String> values) {
            addCriterion("DATASOURCE not in", values, "datasource");
            return (Criteria) this;
        }

        public Criteria andDatasourceBetween(String value1, String value2) {
            addCriterion("DATASOURCE between", value1, value2, "datasource");
            return (Criteria) this;
        }

        public Criteria andDatasourceNotBetween(String value1, String value2) {
            addCriterion("DATASOURCE not between", value1, value2, "datasource");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}